package com.aiit.service.impl;

import com.aiit.dao.DeptDao;
import com.aiit.pojo.Dept;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * ClassName:DeptService
 * Package:com.aiit.service.impl
 * Description:
 *
 * @Date:2020/4/24 18:17
 * @Author:xjs
 */
@Service
public class DeptService {
    @Resource
    DeptDao dDao;
    //查询部门
    public List<Dept> findAllDepts(){
        return dDao.findAllDepts();
    }
}
